home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 April: Mac OS SDK / Dev.CD Apr 00 SDK1.toast / Development Kits / Mac OS / Navigation Services SDK / Examples / SimpleText / SimpleText ƒ / Localize.r < prev    next >
Encoding:
Text File  |  1999-06-16  |  23.5 KB  |  376 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        Localize.r
  3.  
  4.     Copyright:    © 1997-1998 by Apple Computer, Inc., all rights reserved.
  5.  
  6. */
  7.  
  8. /*
  9. **    You may incorporate this sample code into your applications without
  10. **    restriction, though the sample code has been provided "AS IS" and the
  11. **    responsibility for its operation is 100% yours.  However, what you are
  12. **    not permitted to do is to redistribute the source as "DSC Sample Code"
  13. **    after having made changes. If you're going to re-distribute the source,
  14. **    we require that you make it clear in the source that the code was
  15. **    descended from Apple Sample Code, but that you've made changes.
  16. */
  17.  
  18. // --------------------------------------------------------------------------------------------------------------
  19.  
  20. // Basic application information
  21. #define APPNAME                    "SimpleText"
  22.  
  23. // Version number is "MAJOR.MINORHIGHNIBBLE.MINORLONIBBLE"
  24. #define    MAJORVERSION            0x01
  25. #define MINORVERSION            0x40
  26. #define STAGE                    final
  27. #define RELEASE                    0
  28. #define SHORTVERSIONSTRING        "1.4e"
  29. #define COPYRIGHTNOTICE            " © Apple Computer, Inc. 1985-1998"
  30.  
  31. #define COUNTRYVERSION            verUS
  32. #define LONGVERSIONSTRING        SHORTVERSIONSTRING ", " COPYRIGHTNOTICE
  33. #define FINDERSTRING            "Built for Navigation Services"
  34.  
  35. // open kinds
  36. #define READONLYDOC        "SimpleText read-only document",
  37. #define PICTDOC            "SimpleText picture",
  38. #define MOVIEDOC        "SimpleText movie",
  39. #define PRINTDOC        "SimpleText print document",
  40. #define PDDDOC            "portable digital document",
  41. #define STATIONERYDOC    "SimpleText stationery",
  42. #define TEXTDOC            "SimpleText text document"
  43.  
  44.  
  45. // Window titles
  46. #define FIRSTNEWDOCUMENTTITLE    "untitled"
  47. #define NEWDOCUMENTTITLE        "untitled ^0"
  48. #define ABOUTBOXTITLE            "About " APPNAME "…"
  49. #define CLIPBOARDTITLE            "Clipboard"
  50.  
  51. // Misc strings
  52. #define ABOUTSTRING1            APPNAME
  53. #define ABOUTSTRING2            "Navigation Services Team"
  54. #define ABOUTSTRING3            "from original works by:"
  55. #define ABOUTSTRING4            "Tom Dowdy, Ken, Hoon, Francis, and Bryan"
  56. #define ABOUTSTRING5            COPYRIGHTNOTICE
  57. #define ABOUTSTRING6            "Version " SHORTVERSIONSTRING
  58. #define CLIPBOARDNONESTRING        "Clipboard contents: none"
  59. #define CLIPBOARDUNKNOWNSTRING    "Clipboard contents: unknown type"
  60. #define CLIPBOARDPICTSTRING        "Clipboard contents: picture"
  61. #define CLIPBOARDTEXTSTRING        "Clipboard contents: text"
  62. #define CLIPBOARDHIDE            "Hide Clipboard"
  63. #define CLIPBOARDSHOW            "Show Clipboard"
  64. #define TEXTSAVEPROMPT            "Save this document as:"
  65. #define TEXTSAVEBUTTON            "Save"
  66. #define TEXTCANCELBUTTON        "Cancel"
  67. #define TEXTEJECTBUTTON            "Eject"
  68. #define TEXTDESKTOPBUTTON        "Desktop"
  69. #define TEXTSTATIONERY            "To save this document as a stationery pad (a template document) click this button before clicking the Save button."
  70. #define TEXTSTATIONERYSELECTED    "When this button is selected, the document you are saving will be saved as a stationery pad (a template document)."
  71. #define TEXTDOCUMENT            "To save your document as a "APPNAME" document, click this button."
  72. #define TEXTDOCUMENTSELECTED    "When this button is selected, your document will be saved as a "APPNAME" document."
  73. #define TEXTPICTMARKER1            "\$CA"
  74. #define TEXTPICTMARKER2            ""
  75. #define HELPMENUCOMMAND            "?"
  76.  
  77. // Save changes alert strings
  78. #define SAVESAVEBUTTON            "Save"
  79. #define SAVECANCELBUTTON        "Cancel"
  80. #define SAVEDONTSAVEBUTTON        "Don’t Save"
  81. #define SAVEBUTTONSHORTCUTS        "Dd"
  82. #define SAVESTATICTEXT            "Save changes to the document “^0” before closing?"
  83.  
  84. // Go to page alert strings
  85. #define GOTOOKBUTTON            "OK"
  86. #define GOTOCANCELBUTTON        "Cancel"
  87. #define GOTOSTATICTEXT            "Go to page"
  88. #define GOTOOFSTATICTEXT        "of ^0."
  89. #define GOTOPAGESLIDERSTRING    "Go to page: "
  90. #define PAGELABELSTRING            "^0 of ^1 (^2%)"
  91.  
  92. // Find/Replace alert strings
  93. #define FINDBUTTON                "Find"
  94. #define FINDCANCELBUTTON        "Cancel"
  95. #define REPLACEBUTTON            "Replace"
  96. #define REPLACEALLBUTTON        "Replace All"
  97. #define FINDCASESENSITIVE        "Case Sensitive"
  98. #define FINDWRAPAROUND            "Wrap–Around Search"
  99. #define FINDSTATIC                "Find what?"
  100. #define REPLACESTATIC            "Replace with what string?"
  101.  
  102. // Error alerts
  103. #define ERROKBUTTON            "OK"
  104. #define ERRCANCELBUTTON        "Cancel"
  105. #define ERRSTARTUPVERSION    APPNAME " requires System 7 in order to run."
  106. #define ERRSTARTUPFAILED    APPNAME " is unable to run because of a serious error."
  107. #define ERRNEWFAILEDRAM        APPNAME" cannot make a new document because there is not enough memory."
  108. #define ERROPENFAILED        APPNAME" cannot open this document. It may be in use by someone else."
  109. #define ERRSAVEFAILED        APPNAME" cannot save this document. This disk may be full or locked, or the file may be locked."
  110. #define ERRMODFAILED        "You cannot modify this document; you can only read or print it."
  111. #define ERRSETUPFAILED        APPNAME" is unable to setup the page for this document. Please use the Chooser to select a printer."
  112. #define ERRPRINTMEM            APPNAME" cannot print this document because there is not enough memory."
  113. #define ERRPAGESETUPMEM        APPNAME" cannot perform a Page Setup for this document because there is not enough memory."
  114. #define ERRPRINTDISKFULL    APPNAME" cannot print this document because there is not enough room available on the hard disk."
  115. #define ERRPRINTTYPE        APPNAME" cannot print this kind of document."
  116. #define ERRPRINTFAILED        APPNAME" is unable to print this document. Please use the Chooser to select a printer."
  117. #define ERROPENSIZE            "This document is too large to be opened by "APPNAME"."
  118. #define ERRPASTESIZE        "This document is too large to accept the text from the clipboard."
  119. #define ERRTYPESIZE            "This document is too large to accept any more text."
  120. #define ERRSIZECHANGE        "Your requested change would cause this document to become too long."
  121. #define ERROPENTYPE            APPNAME" cannot display this kind of document."
  122. #define ERRCOPYTOOBIG        APPNAME" cannot copy from this document, the selection is too large."
  123. #define ERRSAVETYPE            APPNAME" cannot replace a different kind of document."
  124. #define ERROPENOUTOFMEM        APPNAME" cannot display this document because there is not enough memory."
  125. #define ERROPENDRAW            APPNAME" cannot display this document because an error occured while drawing."
  126. #define ERROPENPS            APPNAME" may not be able to display this document properly because it contains PostScript®."
  127. #define ERROPENNOPAGES        APPNAME" cannot display this document because it contains no pages."
  128. #define ERRRECORDFULL        APPNAME" cannot record at this moment because there is not enough memory."
  129. #define ERRRECORDERR        APPNAME" cannot record at this moment.  Another application may be using Sound Input."
  130. #define ERRSPEAKFULL        "There is not enough memory to speak.  Try increasing " APPNAME "'s partition size."
  131. #define ERRSPEAKERR            "An error occurred when " APPNAME " tried to speak."
  132. #define ERRCHANGEVOICE        APPNAME " is unable to change to the new voice.  Try increasing " APPNAME "'s partition size."
  133. #define ERROPENANOTHERFAILED        APPNAME " is unable to open another document at this time.  Cancel the current Print or Page Setup dialog and try again."
  134. #define ERRPRINTANOTHERFAILED        APPNAME " is unable to print another document at this time.  Cancel the current Print or Page Setup dialog and try again."
  135.  
  136. // Apple menu strings
  137. #define ABOUTITEM                "About " APPNAME "…"
  138.  
  139. // File menu strings
  140. #define FILEMENU                "File"
  141. #define FILENEWITEM                "New"
  142.     #define FILENEWKEY                "N"
  143. #define FILEOPENITEM            "Open…"
  144.     #define FILEOPENKEY                "O"
  145. #define FILECLOSEITEM            "Close"
  146.     #define FILECLOSEKEY            "W"
  147. #define FILESAVEITEM            "Save"
  148.     #define FILESAVEKEY                "S"
  149. #define FILESAVEASITEM            "Save As…"
  150.     #define FILESAVEASKEY            nokey
  151. #define FILEPAGESETUPITEM        "Page Setup…"
  152.     #define FILEPAGESETUPKEY        nokey
  153. #define FILEPRINTITEM            "Print…"
  154.     #define FILEPRINTKEY            "P"
  155. #define FILEPRINTONECOPYITEM    "Print One Copy"
  156.     #define FILEPRINTONECOPYKEY        nokey
  157. #define FILEQUITITEM            "Quit"
  158.     #define FILEQUITKEY                "Q"
  159.  
  160. // Edit menu strings
  161. #define EDITMENU                "Edit"
  162. #define EDITUNDOITEM            "Undo"
  163.     #define EDITUNDOKEY                "Z"
  164. #define EDITCUTITEM                "Cut"
  165.     #define EDITCUTKEY                "X"
  166. #define EDITCOPYITEM            "Copy"
  167.     #define EDITCOPYKEY                "C"
  168. #define EDITPASTEITEM            "Paste"
  169.     #define EDITPASTEKEY            "V"
  170. #define EDITCLEARITEM            "Clear"
  171.     #define EDITCLEARKEY            nokey
  172. #define EDITSELECTALLITEM        "Select All"
  173. #define EDITSELECTNONEITEM        "Remove Selection"
  174.     #define EDITSELECTALLKEY        "A"
  175.  
  176. #define FINDITEM                "Find…"
  177.     #define FINDKEY                    "F"
  178. #define FINDAGAINITEM            "Find Again"
  179.     #define FINDAGAINKEY            "G"
  180. #define FINDSELECTIONITEM        "Find Selection"
  181.     #define FINDSELECTIONKEY        "H"
  182. #define REPLACEITEM                "Replace…"
  183.     #define REPLACEKEY                "R"
  184. #define REPLACEAGAINITEM        "Replace Again"
  185.     #define REPLACEAGAINKEY            "D"
  186.  
  187. #define EDITNEXTPAGEITEM        "Next Page"
  188.     #define EDITNEXTPAGEKEY            "="
  189. #define EDITPREVPAGEITEM        "Previous Page"
  190.     #define EDITPREVPAGEKEY            "-"
  191. #define EDITGOTOPAGEITEM        "Go to Page…"
  192.     #define EDITGOTOPAGEKEY            nokey
  193. #define EDITSHOWCLIPBOARDITEM    "Show Clipboard  "
  194.     #define EDITSHOWCLIPBOARDKEY    nokey
  195.  
  196. // Font menu strings
  197. #define FONTMENU                "Font"
  198.  
  199. // Size menu strings
  200. #define SIZEMENU                "Size"
  201. #define SIZE9POINT                "9 Point"
  202.     #define SIZE9POINTKEY            nokey
  203. #define SIZE10POINT                "10 Point"
  204.     #define SIZE10POINTKEY            nokey
  205. #define SIZE12POINT                "12 Point"
  206.     #define SIZE12POINTKEY            nokey
  207. #define SIZE14POINT                "14 Point"
  208.     #define SIZE14POINTKEY            nokey
  209. #define SIZE18POINT                "18 Point"
  210.     #define SIZE18POINTKEY            nokey
  211. #define SIZE24POINT                "24 Point"
  212.     #define SIZE24POINTKEY            nokey
  213. #define SIZE36POINT                "36 Point"
  214.     #define SIZE36POINTKEY            nokey
  215.     
  216. // Style menu strings
  217. #define STYLEMENU                "Style"
  218. #define STYLEPLAIN                "Plain Text"
  219.     #define STYLEPLAINKEY            "T"
  220. #define STYLEBOLD                "Bold"
  221.     #define STYLEBOLDKEY            "B"
  222. #define STYLEITALIC                "Italic"
  223.     #define STYLEITALICKEY            "I"
  224. #define STYLEUNDERLINE            "Underline"
  225.     #define STYLEUNDERLINEKEY        "U"
  226. #define STYLEOUTLINE            "Outline"
  227.     #define STYLEOUTLINEKEY            nokey
  228. #define STYLESHADOW                "Shadow"
  229.     #define STYLESHADOWKEY            nokey
  230. #define STYLECONDENSED            "Condensed"
  231.     #define STYLECONDENSEDKEY        nokey
  232. #define STYLEEXTENDED            "Extended"
  233.     #define STYLEEXTENDEDKEY        nokey
  234.  
  235. // Sound menu strings
  236. #define SOUNDMENU                "Sound"
  237. #define SOUNDRECORDITEM            "Record…"
  238.     #define SOUNDRECORDKEY            nokey
  239. #define SOUNDPLAYITEM            "Play"
  240.     #define SOUNDPLAYKEY            nokey
  241. #define SOUNDERASEITEM            "Erase"
  242.     #define SOUNDERASEKEY            nokey
  243. #define SOUNDSPEAKSELECTIONITEM    "Speak Selection"
  244. #define SOUNDSPEAKALLITEM        "Speak All"
  245.     #define SOUNDSPEAKKEY            "J"
  246. #define SOUNDSTOPSPEAKINGITEM    "Stop Speaking"
  247.     #define SOUNDSTOPSPEAKINGKEY    "."
  248. #define SOUNDVOICESITEM            "Voices"
  249.     #define SOUNDVOICESKEY            nokey
  250. #define NOVOICESITEM            "None"
  251.     #define NOVOICESKEY            nokey
  252.     
  253.     
  254. // items in the GX pop up menu
  255. #define GXPOPUPMENU                "Display Options"
  256.  
  257. #define GXFIFTY                    "50%"
  258. #define GXONEHUNDRED            "100%"
  259. #define GXONEHUNDREDTWELVE        "112%"
  260. #define GXONEHUNDREDFIFTY        "150%"
  261. #define GXTWOHUNDRED            "200%"
  262. #define GXFOURHUNDRED            "400%"
  263. #define GXSCALETOFIT            "Scale image to fit window"
  264. #define GXDONTSHOWMARGINS        "Don’t show margins"
  265.  
  266. // Balloon Help Strings
  267. #define FINDERHELPSTRING    APPNAME "\n\n" "This is a simple application program that you can use to view Read Me files, text files, movies, 3D files, and certain graphics files, and to write letters and memos.\n\nChange the icon's name by clicking on the name and typing."
  268.  
  269. // Apple menu help
  270. #define HELPABOUTITEM        "Displays information about the version of the "APPNAME" application."
  271.  
  272. // File menu help
  273. #define HELPFILEMENU        "File menu\n\nUse this menu to open, close, save, and print "APPNAME" documents, and to quit "APPNAME"."
  274. #define HELPNEWE            "Opens a new "APPNAME" document called “untitled.”"
  275. #define HELPNEWD            "Opens a new "APPNAME" document called “untitled.”  Not available because there is a dialog box on the screen."
  276. #define HELPOPENE            "Displays a dialog box that allows you to select an existing "APPNAME" document to open."
  277. #define HELPOPEND            "Displays a dialog box that allows you to select an existing "APPNAME" document to open.  Not available because there is a dialog box on the screen."
  278. #define HELPCLOSEE            "Closes the open "APPNAME" document."
  279. #define HELPCLOSED            "Closes the open "APPNAME" document.  Not available because no "APPNAME" document is open."
  280. #define HELPSAVEE            "Saves the open "APPNAME" document.  If you have not saved the document before, a dialog box appears in which you assign a name to the document and indicate where to save it."
  281. #define HELPSAVED            "Saves the open "APPNAME" document.  Not available because no "APPNAME" document is open, because no changes have been made to the open document, or because the open document is a special type that cannot be changed or saved."
  282. #define HELPSAVEASE            "Displays a dialog box in which you can assign a name to the document and indicate where to save it."
  283. #define HELPSAVEASD            "Displays a dialog box in which you can name and save the open document.  Not available because no "APPNAME" document is open, because no changes have been made to the open document, or because the open document is a special type that cannot be changed."
  284. #define HELPPAGESETUPE        "Displays a dialog box in which you can select paper size, orientation, and other printing options."
  285. #define HELPPAGESETUPD        "Displays a dialog box in which you can select paper size, orientation, and other printing options.  Not available because the current window cannot be printed."
  286. #define HELPPRINTE            "Displays a dialog box in which you can specify the number of copies you want to print and other printing options."
  287. #define HELPPRINTD            "Displays a dialog box in which you can specify the number of copies you want to print and other printing options.  Not available because no "APPNAME" document is open or because the open "APPNAME" document is empty."
  288. #define HELPPRINTONEE        "Prints a single copy of the "APPNAME" document."
  289. #define HELPPRINTONED        "Prints a single copy of the "APPNAME" document.  Not available because no "APPNAME" document is open or because the open "APPNAME" document is empty."
  290. #define HELPQUITE            "Quits the "APPNAME" application.  If you have not saved changes you made to the open document, you will be asked whether you want to save changes."
  291. #define HELPQUITD            "Quits the "APPNAME" application.  Not available because there is a dialog box on the screen."
  292.  
  293. // Edit menu help
  294. #define HELPEDITMENU        "Edit menu\n\nUse this menu to undo your last action, to manipulate text or graphics, to select the entire contents of a document, and to show what’s on the Clipboard."
  295. #define HELPUNDOE            "Undoes your last action. In "APPNAME", you can use this command to replace material you have cut or cleared or to remove material you have pasted or typed."
  296. #define HELPUNDOD            "Undoes your last action if it involved cutting, clearing, pasting, or typing. Not available now because your last action cannot be undone."
  297. #define HELPCUTE            "Removes the selected text or graphics and places it temporarily into a storage area called the Clipboard."
  298. #define HELPCUTD            "Removes the selected text or graphics and places it temporarily into a storage area called the Clipboard.  Not available now because nothing is selected."
  299. #define HELPCOPYE            "Copies the selected text or graphics.  The original selection remains where it is. The copy is placed temporarily into a storage area called the Clipboard."
  300. #define HELPCOPYD            "Copies the selected text or graphics. The original selection remains where it is. The copy is placed temporarily into a storage area called the Clipboard. The command is not available now because nothing is selected."
  301. #define HELPPASTEE            "Inserts the contents of the Clipboard at the location of the insertion point."
  302. #define HELPPASTED            "Inserts the contents of the Clipboard at the location of the insertion point. Not available because there is nothing on the Clipboard or because the contents of the Clipboard are of a type "APPNAME" can’t read."
  303. #define HELPCLEARE            "Removes the selected text or graphics without storing it on the Clipboard."
  304. #define HELPCLEARD            "Removes the selected text or graphics without storing it on the Clipboard.  Not available now because nothing is selected."
  305. #define HELPSELECTALLE        "Selects or deselects the entire contents of the open "APPNAME" document."
  306. #define HELPSELECTALLD        "Selects or deselects the entire contents of the open "APPNAME" document.  Not available now because no "APPNAME" document is open or because the open document is empty."
  307. #define HELPNEXTPAGEE        "Displays the next page in the document."
  308. #define HELPNEXTPAGED        "Displays the next page in the document.  Disabled because this document contains no additional pages."
  309. #define HELPPREVPAGEE        "Displays the previous page in the document."
  310. #define HELPPREVPAGED        "Displays the previous page in the document.  Disabled because this document contains no additional pages."
  311. #define HELPGOTOPAGEE        "Displays the specified page in the document."
  312. #define HELPGOTOPAGED        "Displays the specified page in the document.  Disabled because this type of document contains no additional pages, or does not support this command."
  313. #define HELPSHOWCLIPBOARDE    "Displays the contents of the Clipboard (a storage area for the last item cut or copied)."
  314. #define HELPHIDECLIPBOARDE    "Closes the Clipboard window."
  315.  
  316. #define HELPFINDE            "Allows you to search the current window for particular text."
  317. #define HELPFINDD            "Allows you to search the current window for particular text.  Disabled because the current window is not searchable."
  318. #define HELPFINDAGAINE        "Searches the current window for another occurance of the found text."
  319. #define HELPFINDAGAIND        "Searches the current window for another occurance of the found text.  Disabled because the current window is not searchable, or because you have not entered text to find."
  320. #define HELPFINDSELECTIONE    "Allows you to search the current window for another occurance of the selected text."
  321. #define HELPFINDSELECTIOND    "Allows you to search the current window for another occurance of the selected text.  Disabled because the current window is not searchable, or because no text is currently selected."
  322. #define HELPREPLACEE        "Allows you to search the current window for particular text and replace it."
  323. #define HELPREPLACED        "Allows you to search the current window for particular text and replace it.  Disabled because the current window is not searchable."
  324. #define HELPREPLACEAGAINE    "Searches the current window for another occurance of the found text and replaces it."
  325. #define HELPREPLACEAGAIND    "Searches the current window for another occurance of the found text and replaces it.  Disabled because the current window is not searchable, or because you have not entered text to replace."
  326.  
  327. // Font menu help
  328. #define HELPFONTMENUE        "Font menu\n\nUse this menu to change the font used for text in a document."
  329. #define HELPFONTMENUD        "Font menu\n\nUse this menu to change the font used for text in a document.  Not available because the active document is not a text document."
  330. #define HELPFONTITEME        "To use this font in the active document, choose it from this menu."
  331. #define HELPFONTITEMD        "To use this font in the active document, choose it from this menu.  Not available because the active document is not a text document."
  332. #define HELPFONTITEMC        "This is the currently selected font.  To change to another font, choose one from this menu."
  333.  
  334. // Style menu help
  335. #define HELPSTYLEMENUE        "Style menu\n\nUse this menu to change the style used for text in a document."
  336. #define HELPSTYLEMENUD        "Style menu\n\nUse this menu to change the style used for text in a document.  Not available because the active document is not a text document."
  337. #define HELPSTYLEITEME        "To use this style in the active document, choose it from this menu."
  338. #define HELPSTYLEITEMD        "To use this style in the active document, choose it from this menu.  Not available because the active document is not a text document."
  339. #define HELPSTYLEITEMC        "This is the currently selected style.  To change to another style, choose one from this menu."
  340.  
  341. // Size menu help
  342. #define HELPSIZEMENUE        "Size menu\n\nUse this menu to change the font size used for text in a document."
  343. #define HELPSIZEMENUD        "Size menu\n\nUse this menu to change the font size used for text in a document.  Not available because the active document is not a text document."
  344. #define HELPSIZEITEME        "To use this font size in the active document, choose it from this menu."
  345. #define HELPSIZEITEMD        "To use this font size in the active document, choose it from this menu.  Not available because the active document is not a text document."
  346. #define HELPSIZEITEMC        "This is the currently selected font size.  To change to another size, choose one from this menu."
  347.  
  348. // Sound menu help
  349. #define HELPSOUNDMENU        "Sound menu\n\nUse this menu to record, play, or erase a voice annotation, or to hear the current text spoken."
  350. #define HELPRECORDE            "Allows you to record a new voice annotation."
  351. #define HELPRECORDD            "Allows you to record a new voice annotation. Not available because there is already a recorded voice annotation, your Macintosh does not support sound input, or this is a read–only document."
  352. #define HELPPLAYE            "Plays the voice annotation."
  353. #define HELPPLAYD            "Plays the voice annotation. Not available because there is no recorded voice annotation."
  354. #define HELPERASEE            "Erases the current voice annotation so that you can record a new one."
  355. #define HELPERASED            "Erases the current voice annotation so that you can record a new one. Not available because there is no recorded voice annotation, or this is a read–only document."
  356. #define HELPSPEAKALLE        "Speaks all the text in the document aloud, using the currently checked voice from the Voices submenu, below."
  357. #define HELPSPEAKALLD        "Speaks text aloud.  Not available, because Text-To-Speech is not installed or there is not enough memory to speak (increase " APPNAME "'s partition size)."
  358. #define HELPSPEAKSELECTIONE    "Speaks the currently selected text aloud, using the currently checked voice from the Voices submenu, below."
  359. #define HELPSPEAKSELECTIOND    "Speaks the currently selected text aloud.  Not available, because Text-To-Speech is not installed or there is not enough memory to speak (increase "
  360. #define HELPSTOPSPEAKINGE    "Quiets the speaking you hear right now."
  361. #define HELPSTOPSPEAKINGD    "Quiets any speaking you started.  Not available because there is nothing being spoken at the moment."
  362. #define HELPVOICESE            "Has submenu which allows you to pick the voice used when speaking."
  363. #define HELPVOICESD            "Has submenu which allows you to pick which voice to speak with.  Not available now because speech is not available.  Either speech is not installed or there is not enough memory to speak (increase " APPNAME "'s partition size)."
  364. #define HELPVOICESELE        "One of the possible voices to speak with.  Choose this item to speak with this voice next time you speak."
  365. #define HELPVOICESELC        "The voice that will be used to speak with next time you speak."
  366.  
  367. // Window content help
  368. #define HELPACTIVESCROLL    "Scroll bar\n\nTo scroll a little at a time, press one of the scroll arrows.  To scroll by the windowful, click in the gray bar.  To scroll to another part of the window, drag the scroll box."
  369. #define HELPDIMHORIZSCROLL    "Scroll bar\n\nUse the scroll bar to see items that are out of view.  This scroll bar is not available because this window contains no items to the left or right of the window’s borders."
  370. #define HELPDIMVERTSCROLL    "Scroll bar\n\nUse the scroll bar to see items that are out of view.  This scroll bar is not available because this window contains no items above or below the window’s borders."
  371. #define HELPGROWBOX            "Size box\n\nTo change the height and width of the window, drag the size box."
  372. #define HELPGENERICCONTENT    "This is a document window.  You cannot type or edit material in this document because the document is a read-only document."
  373. #define HELPPICTCONT        "This is a document window — the area in which you can view and copy images from the "APPNAME" picture document."
  374. #define HELPPICTSEL            "The area inside this rectangle is selected.  You can copy the selected area to the Clipboard by choosing Copy from the Edit menu."
  375. #define HELPTEXTCONT        "This is a document window — the area in which you can type and edit text."
  376.